<?php defined('IN_PHPCMS') or exit('Access Denied'); ?><div id="left">
    <div id="treemenu">
      <h5>订单管理</h5>
      <ul>
        <li><a href="<?php echo $M['url'];?>index.php?action=manage">全部订单</a></li>
<?php if(is_array($order->STATUS)) foreach($order->STATUS AS $k => $v) { ?>
        <li class="centermenu"><a href="<?php echo $M['url'];?>index.php?action=manage&status=<?php echo $k;?>"><?php echo $v;?>订单</a></li>
<?php } ?>
        <li><a href="<?php echo $M['url'];?>deliver.php">收货地址</a></li>
      </ul>
    </div>
    <ol>
      <li class="local"><a href="<?php echo SITE_URL;?>">返回网站首页</a></li>
      <li class="exit"><a href="<?php echo $MODULE['member']['url'];?>logout.php">退出登录</a></li>
    </ol>
</div>